<?php 

// $str = '学并思官网';


// setcookie('site_name',$str);


// setcookie('user','zhibinm',time()+120);


$arr = array('user'=>'zhibinm','passwd'=>'1234567');

// $arr = json_encode($arr);

$arr = serialize($arr);

setcookie('userInfo',$arr,);











 ?>